package com.zmc.order.infrastructure.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zmc.order.infrastructure.entity.MerchantOrderEntity;

/**
 * 订单
 *
 * @author zmc
 * @email
 * @date 2024-10-09 14:52:02
 */
public interface MerchantOrderService extends IService<MerchantOrderEntity> {

    void updateStatus(String merchantOrderSn, int status);

    MerchantOrderEntity getByOrderSn(String orderSn);

    void updateMerchantOrderWhenDelivery(String orderSn, int status);

    void updateMerchantOrderWhenSendGood(String orderSn, String wmsOrderId, int status);
}

